package com.trg.flex.messages
{
	public class Message
	{
		public static const TYPE_INFO:int = 0;
		public static const TYPE_ERROR:int = 1;
		public static const TYPE_WARNING:int = 2;
		public static const TYPE_SUCCESS:int = 3;
		
		public function Message(text:String=null, type:int=0)
		{
			this.text = text;
			this.type = type;
		}
		
		public var text:String;
		public var type:int;
	}
}